package com.collect.zambia.zhiScene.zhiPublic;

import android.content.Context;

import com.collect.zambia.zhiBase.BaseContract;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRAppVersionEntity;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRCheckInOutEntity;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRGroupUserEntity;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRLoginEntity;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRUserCallRecordWarnEntity;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRWorkAccountIdEntity;
import com.collect.zambia.zhiBean.zhiSend.ZHISLoginEntity;
import com.collect.zambia.zhiBean.zhiSend.ZHISWorkAccountIdEntity;
import com.collect.zambia.zhiBean.zhiSend.ZHISendEntity;

import java.util.ArrayList;

public class ZHISplashContract {
    interface View extends BaseContract.View {
        /**
         * 错误信息返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-14 17:54
         */
        void onGetErrorInfo(String apiType);

        /**
         * 获取app版本返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-15 14:37
         */
        void onGetAppVersionInfoV2(ZHIRAppVersionEntity ftrAppVersionEntity);

        /**
         * 获取登录信息返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetLoginInfoV2(final ZHIRLoginEntity zhiRLoginEntity);

        /**
         * 获取催收员列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetGroupUsers(ArrayList<ZHIRGroupUserEntity> zhirGroupUserEntityArrayList);

        /**
         * 获取通话记录异常警告返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetUserCallRecordWarn(ZHIRUserCallRecordWarnEntity zhirUserCallRecordWarnEntity);

        /**
         * 上班成功返回
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onGetCheckState(ZHIRCheckInOutEntity zhirCheckInOutEntity);

        /**
         * 卡槽记录
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void onAboutWorkAccountId(String zhirWorkAccountIdEntity);
    }

    interface Presenter extends BaseContract.Presenter<View> {
        /**
         * 获取app版本号
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-15 14:35
         */
        void getAppVersionInfoV2(Context context, ZHISendEntity ftSendEntity);

        /**
         * 注册/登录
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:51
         */
        void getLoginInfoV2(Context context, ZHISLoginEntity zhiSLoginEntity);

        /**
         * 获取催收员列表
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getGroupUsers(Context context, ZHISendEntity zhiSendEntity);

        /**
         * 获取通话记录异常警告
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getUserCallRecordWarn(Context context, ZHISendEntity zhiSendEntity);

        /**
         * 打卡状态
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void getCheckState(Context context, ZHISendEntity zhiSendEntity);

        /**
         * 卡槽记录
         *
         * @type method
         * @author liwenjie
         * @creatTime 2019-11-06 17:52
         */
        void aboutWorkAccountId(Context context, ZHISWorkAccountIdEntity zhisWorkAccountIdEntity);
    }
}
